/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.xd.service;

import java.util.Collection;
import java.util.List;

import com.xy.biz.xd.domain.req.DocumentFlowCancelRequestFlowRequest;
import com.xy.biz.xd.domain.req.HandleDocumentFlowRequest;
import com.xy.biz.xd.domain.req.SaveDocumentFlowCancelRequestFlowRequest;
import com.xy.lang.domain.Result;
import com.xy.biz.xd.domain.bo.DocumentFlowCancelRequestFlowBO;
import com.xy.biz.xd.domain.query.DocumentFlowCancelRequestFlowQuery;

/**
 * 
 * 
 * @author zgy
 * @date 2021-6-17
 */
public interface DocumentFlowCancelRequestFlowService {
	
	/**
	 * 保存
	 *
	 * @param request
	 */
	Result<?> saveDocumentFlowCancelRequestFlow(SaveDocumentFlowCancelRequestFlowRequest request);

	/**
	 * 审核
	 *
	 * @param request
	 */
	Result<?> auditDocumentFlowCancelRequestFlow( DocumentFlowCancelRequestFlowRequest request);
	
	/**
	 * 保存多个
	 *
	 * @param collection
	 */
	Result<?> saveAllDocumentFlowCancelRequestFlow(Collection<DocumentFlowCancelRequestFlowBO> collection);
	
	/**
	 * 更新
	 *
	 * @param documentFlowCancelRequestFlowBO
	 */
	Result<?> updateDocumentFlowCancelRequestFlow(DocumentFlowCancelRequestFlowBO documentFlowCancelRequestFlowBO);
	
	/**
	 * 删除
	 *
	 * @param documentFlowCancelRequestFlowId
	 */
	Result<?> deleteDocumentFlowCancelRequestFlow(Long documentFlowCancelRequestFlowId);
	
	/**
	 * 查找一个
	 *
	 * @param documentFlowCancelRequestFlowId
	 * @return 
	 */
	DocumentFlowCancelRequestFlowBO getDocumentFlowCancelRequestFlow(Long documentFlowCancelRequestFlowId);
	
	/**
	 * 查找多个
	 *
	 * @param collection 标识集合
	 */
	List<DocumentFlowCancelRequestFlowBO> listDocumentFlowCancelRequestFlowById(Collection<Long> collection);
	
	/**
	 * 查找多个
	 *
	 * @param query 查找条件
	 */
	List<DocumentFlowCancelRequestFlowBO> listDocumentFlowCancelRequestFlow(DocumentFlowCancelRequestFlowQuery query);
	
	/**
	 * 统计个数
	 *
	 * @param query 查找条件
	 */
	int countDocumentFlowCancelRequestFlow(DocumentFlowCancelRequestFlowQuery query);
	
}
